import { request } from '@umijs/max';
export async function createTeam(form) {
    return request('/team/create',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function updateTeam(form) {
    return request('/team/update',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function paginationQueryTeam(params) {
    return request('/team/page-query/list',{
        method: 'POST',
        data: params,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function batchDeleteTeam(form) {
    return request('/team/batch/delete',{
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'application/json',
          },
    })
}
export async function queryTeamDetailInfo(param) {
    return request('/team/query/detail-info?'+param,{
        method: 'GET'
    })
}
export async function queryTeamRoughInfoList(){
    return request('/team/query/rough-info/list',{
        method: 'GET'
    })
}